package cn.itcast.zt.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhangtian105
 * @ClassName HelloWordController.java
 * @projectName SpringBoot2.x
 * @Description 初始测试
 * @createTime 2020年04月02日 15:30:00
 */
@RestController
@RequestMapping("learning")
public class HelloWordController {

    @GetMapping(value = "hi")
    public String sayHelloWorld() {
        return "Hello World..." ;
    }
}
